package net.mikoo.seals.agent.biz.mapper.client;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.agent.model.Devices;
import net.mikoo.seals.agent.model.DevicesQuery;

@MapperScan
public interface DevicesMapper {
	
	Integer insert(Devices devices);
	
	Integer update(Devices devices);
	
	Devices selectInfoById(Long devicesId);
	
	List<Devices> selectByQueryToPage(DevicesQuery query);
	
	Integer countByQueryToPage(DevicesQuery query);
	
	Devices selectInfoByQuery(DevicesQuery query);
	
	Integer delete(Devices devices);
}
